package com.project.service;

import com.project.bean.CutPagBean;
import com.project.bean.InvitationBane;
import com.project.bean.SpeakBean;
import com.project.dao.IInvitationDao;

import java.time.LocalDate;

public interface IInvitationService {

    /**
     *
     * @param pageNo 页码
     * @param name 主题名
     * @param author 作者
     * @param startDate 开始日期
     * @param endDate 结束日期
     * @return 分页对象
     */
    public CutPagBean<InvitationBane> findByItem(Integer pageNo, Integer chId, String name, String author, LocalDate startDate, LocalDate endDate);

    /**
     *
     * @param in 帖子
     *
     */
    public void addInvitation(InvitationBane in );

    public InvitationBane findById(Integer id);

}
